// Decompiled by Jad v1.5.8e. Copyright 2001 Pavel Kouznetsov.
// Jad home page: http://www.geocities.com/kpdus/jad.html
// Decompiler options: braces fieldsfirst space lnc
package com.tencent.mm.sdk.modelmsg;
import android.os.Bundle;
import com.tencent.mm.sdk.b.a;
public class WXWebpageObject
implements WXMediaMessage.IMediaObject
{
private static final String a = "MicroMsg.SDK.WXWebpageObject";
private static final int b = 10240;
public String extInfo;
public String webpageUrl;
public WXWebpageObject()
{
}
public WXWebpageObject(String s)
{
webpageUrl = s;
}
public boolean checkArgs()
{
if (webpageUrl == null || webpageUrl.length() == 0 || webpageUrl.length() > 10240)
{
com.tencent.mm.sdk.b.a.a("MicroMsg.SDK.WXWebpageObject", "checkArgs fail, webpageUrl is invalid");
return false;
} else
{
return true;
}
}
public void serialize(Bundle bundle)
{
bundle.putString("_wxwebpageobject_extInfo", extInfo);
bundle.putString("_wxwebpageobject_webpageUrl", webpageUrl);
}
public int type()
{
return 5;
}
public void unserialize(Bundle bundle)
{
extInfo = bundle.getString("_wxwebpageobject_extInfo");
webpageUrl = bundle.getString("_wxwebpageobject_webpageUrl");
}
}